package com.example.student.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 系统令牌黑名单实体类
 */
@Data
@TableName("sys_token_blacklist")
public class SysTokenBlacklist implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 令牌
     */
    private String token;

    /**
     * 令牌过期时间
     */
    private Date expireTime;

    /**
     * 创建时间
     */
    private Date createTime;
} 